<template>
  <a-modal
    :title="title"
    :width="500"
    :visible="visible"
    :footer="null"
    @cancel="handleCancell">
    <a-spin :spinning="confirmLoading">
      <div>
        {{ feedback }}
      </div>
    </a-spin>
  </a-modal>
</template>

<script>
  export default {
    data() {
      return {
        confirmLoading: false,
        title: '反馈信息',
        visible: false, // 是否启用本页面
        feedback: ''
      }
    },
    methods: {
      add: function(feedback) {
        this.visible = true
        this.feedback = feedback
      },
      close() {
        this.visible = false
      },
      handleCancell() {
        this.close()
      }

    }
  }
</script>
</script>

<style scoped>
  @import '../../../../public/style/common.css';

  .errorExplain {
    width: 81%;
    margin-left: 14%;
    color: #f5222d;

  }

  .errorExplain label {
    font-size: 12px;
  }
</style>
